module.exports = {
  host: 'localhost.juejin.cn', //主机地址,这个和第一步SwitchHost 配置的域名是一样的。
  proxy: {
    '/recommend_api': {
      target: 'https://api.juejin.cn',
      changeOrigin: true,
      secure: true,
      pathRewrite: {
        '^/recommend_api': '/recommend_api',
      },
    },
  },
  https: true,
  open: true,
}
